<html>
    <head>
        <link rel="stylesheet" type="text/css" href="<?php echo url::base(FALSE) ?>css/homepage.css">
        <title>HanSIP</title>
    </head>
    <body>
        <div id="logo"></div>
        <div class="login">
            <form action="<?php echo url::site().'login' ?>" method="post" >
                <table cellspacing="5">
                    <tr><td id="head" colspan="3" align="center">Login Form</td></tr>
                    <tr><td>username</td><td style="width:5px">:</td><td align="right"><input name="username" type="text"/></td></tr>
                    <tr><td>password</td><td style="width:5px">:</td><td align="right"><input name="password" type="password"/></td></tr>
                    <tr><td id="head" colspan="2"></td><td align="right"><input type="submit" value="Log In" /></td></tr>
                </table>
            </form>
        </div>
        <div id="error">
            <?php if (isset($errors)) : //jika ada variabel error?>
            <?php foreach ($errors as $error): ?>
            <div class="error"><?php echo $error ?></div>
            <?php endforeach ?>
            <?php endif ?>
        </div>
    </body>
</html>